<template>
  <div>123
    <button @click="onclick">点击登录</button>
  </div>
</template>

<script>
import { HomePage } from '@/api/user'
export default {
  methods: {
    async onclick() {
      const res = await HomePage()
      console.log(res)
    }
  }

}
</script>

<style>

</style>
